package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-03-31
*/
    @ApiModel(value="PatchUpdateConfig对象", description="")
    public class PatchUpdateConfig implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "id")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "补丁库版本")
    private String version;

            @ApiModelProperty(value = "补丁类型（0中文补丁1英文补丁）")
    private Integer patchType;

            @ApiModelProperty(value = "危险等级（0安全1低危2中危3高危）")
    private Integer level;

            @ApiModelProperty(value = "适配操作系统（1Windows，2linux  centos，3Linux  ubuntu）")
    private String adaptationOs;

            @ApiModelProperty(value = "补丁库更新方式值")
    private String patchUpdateModeValue;

            @ApiModelProperty(value = "自动更新")
    private String autoConfig;

            @ApiModelProperty(value = "最大并发连接数")
    private String concurrentNumber;

            @ApiModelProperty(value = "最大并发流量")
    private String concurrentFlow;

            @ApiModelProperty(value = "每连接最大流量")
    private String connectionFlow;

            @ApiModelProperty(value = "最后一次升级时间")
    private LocalDateTime lastUpdateDate;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getVersion() {
        return version;
        }

            public void setVersion(String version) {
        this.version = version;
        }
        public Integer getPatchType() {
        return patchType;
        }

            public void setPatchType(Integer patchType) {
        this.patchType = patchType;
        }
        public Integer getLevel() {
        return level;
        }

            public void setLevel(Integer level) {
        this.level = level;
        }
        public String getAdaptationOs() {
        return adaptationOs;
        }

            public void setAdaptationOs(String adaptationOs) {
        this.adaptationOs = adaptationOs;
        }
        public String getPatchUpdateModeValue() {
        return patchUpdateModeValue;
        }

            public void setPatchUpdateModeValue(String patchUpdateModeValue) {
        this.patchUpdateModeValue = patchUpdateModeValue;
        }
        public String getAutoConfig() {
        return autoConfig;
        }

            public void setAutoConfig(String autoConfig) {
        this.autoConfig = autoConfig;
        }
        public String getConcurrentNumber() {
        return concurrentNumber;
        }

            public void setConcurrentNumber(String concurrentNumber) {
        this.concurrentNumber = concurrentNumber;
        }
        public String getConcurrentFlow() {
        return concurrentFlow;
        }

            public void setConcurrentFlow(String concurrentFlow) {
        this.concurrentFlow = concurrentFlow;
        }
        public String getConnectionFlow() {
        return connectionFlow;
        }

            public void setConnectionFlow(String connectionFlow) {
        this.connectionFlow = connectionFlow;
        }
        public LocalDateTime getLastUpdateDate() {
        return lastUpdateDate;
        }

            public void setLastUpdateDate(LocalDateTime lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
        }

    @Override
    public String toString() {
    return "PatchUpdateConfig{" +
            "id=" + id +
            ", version=" + version +
            ", patchType=" + patchType +
            ", level=" + level +
            ", adaptationOs=" + adaptationOs +
            ", patchUpdateModeValue=" + patchUpdateModeValue +
            ", autoConfig=" + autoConfig +
            ", concurrentNumber=" + concurrentNumber +
            ", concurrentFlow=" + concurrentFlow +
            ", connectionFlow=" + connectionFlow +
            ", lastUpdateDate=" + lastUpdateDate +
    "}";
    }
}
